<?php

namespace App\Admin\Actions;
use Encore\Admin\Actions\Response;
use Encore\Admin\Actions\RowAction;
use Encore\Admin\Facades\Admin;
use Illuminate\Http\Request;


class Copy extends RowAction
{
    public $name = '售后';

    public function handle(Model $model, Request $request)
    {
        return $this->response()->success('Success message.')->refresh();
    }

    public function form()
    {
        $this->text('type')->value(1);
    }
}
